package com.chat.api.web.po;

import com.chat.api.web.vo.BaseIDWorkEntity;
import lombok.Data;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;


@Entity
@Proxy(lazy = false)
@Table(name = "remark")
@Data
public class RemarkBean extends BaseIDWorkEntity<RemarkBean> {

    @Column(name = "rr_id")
    private Long rrId;//被回复的评论id

    @Column(name = "username")
    private String username;//评论者名称

    @Column(name = "blog_id")
    private Long blogId = 0L;//博客id

    @Column(name = "content")
    private String content;//内容

    @Column(name = "r_date")
    private Date rDate;//评论时间

}

